import { useSearchParams,useLocation} from "react-router-dom";
import style from '@/style.module.css'
console.log(style);

function AboutView() {
  const location = useLocation();
  console.log("about",location);
  const[searchParams] = useSearchParams()
  const redirect = searchParams.get("redirect");
  return ( <div  className={style.color} >关于页面-{redirect}</div> );
}
export default AboutView;